package com.glory.wxelectricitypda.bean;

import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.List;

public class EqpLockInfoEntity {

    @SerializedName("LockInfoList")
    private List<LockInfoListDTO> lockInfoList;

    public List<LockInfoListDTO> getLockInfoList() {
        if (lockInfoList == null) {
            return new ArrayList<>();
        }
        return lockInfoList;
    }

    public void setLockInfoList(List<LockInfoListDTO> lockInfoList) {
        this.lockInfoList = lockInfoList;
    }

    public static class LockInfoListDTO {
        @SerializedName("LockCause")
        private String lockCause;
        @SerializedName("UnlockGroup")
        private String unlockGroup;

        public String getLockCause() {
            return lockCause == null ? "" : lockCause;
        }

        public void setLockCause(String lockCause) {
            this.lockCause = lockCause;
        }

        public String getUnlockGroup() {
            return unlockGroup == null ? "" : unlockGroup;
        }

        public void setUnlockGroup(String unlockGroup) {
            this.unlockGroup = unlockGroup;
        }
    }
}
